<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 200px;
            height: 200px;
            position: relative;
            /* border: 1px solid red; */
        }
        .box img{
            width: 200px;
            height: 200px;
            display: block;
        }
        .box::before{
            content: "";
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0);
            position: absolute;
            top:0;
            left: 0;
        }
        .box:hover::before{
            background-color: rgba(0,0,0,0.5);
            cursor: pointer;
        }
        .box span{
            width: 50px;
            height: 50px;
            display: block;
            /* background-color: red; */
            position: absolute;
            top: 50%;
            left: 50%;
            margin-left: -25px;
            margin-top: -25px;
            background-image: url(./assets/play.png);
            background-size: cover;
            display: none;
        }
        .box:hover span{
            display: block;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <div class="box">
        <img src="./assets/kele.jpg" alt="" />
        <span></span>
    </div>
</body>
</html>